package net.lastcoder.ifserver.util;

import java.io.Closeable;
import java.io.IOException;

/**
 * date: 2016/8/17
 */
public class IOUtil {
    public static void closeSilently(Closeable close) {
        if (close == null) {
            return;
        }
        try {
            close.close();
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
